package com.lzy.pattern.decorator;

/**
 * @ClassName: FriedNoodles
 * @Description: 具体构件
 * @Author: LiuZy
 * @Date: 2022/4/23 14:42
 * @Version: 1.0
 */
public class FriedNoodles extends FastFood{

    public FriedNoodles(double price, String desc) {
        super(price, desc);
    }

    @Override
    public double cost() {
        return getPrice();
    }
}